package cn.walls1717.wallsmall.product.dao;

import cn.walls1717.wallsmall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author walls1717
 * @email walls1717@163.com
 * @date 2022-10-21 11:26:47
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    /**
     * 根据分类id修改分类名称
     *
     * @param catId 分类id
     * @param categoryName 分类名称
     */
    void updateCategoryByCatId(@Param("catId") Long catId, @Param("name") String categoryName);
}
